﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebEntities.Models.WebInfo
{
    public class HonorType
    {
        public int HonorTypeID { get; set; }
        public string HonorTypeName { get; set; }

        public static HonorType AsHonorType(WI_HonorType wiHonType)
        {
            HonorType honType = new HonorType
            {
                HonorTypeID = wiHonType.HonorTypeID,
                HonorTypeName = wiHonType.HonorTypeName
            };
            return honType;
        }
    }
}
